![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | regex help in a hurry and my minds not working, need to be able to parse something like the following aksdjf[need.this]akdjkjdkfj basically I need the stuff between the square brackets so the result would be need.this thanks in advance |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: regex help $str = 'aksdjf[need.this]akdjkjdkfj' $str -replace '.*\[(.*)].*','$1' -- Kiron |
My System Specs![]() |
| | #3 (permalink) | ||||||||||||
| Guest | Re: regex help love ya man! tr "Kiron" wrote:
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #4 (permalink) | ||||||||||||
| Guest | Re: regex help Something like: if ($myString -match '\[(.+)\]') { $internalValue = $matches[1] } -- Kirk Munro [MVP] Poshoholic http://poshoholic.com "tonyr" <tonyr@xxxxxx> a écrit dans le message de groupe de discussion : C4F49F6A-7B18-49F6-AA31-2B2BA5346B58@xxxxxx...
| ||||||||||||
My System Specs![]() | |||||||||||||
| | #5 (permalink) | ||||||||||||||||||||||||
| Guest | Re: regex help Sorry, disregard that, refresh is slow today and I thought you were still waiting on an answer. "Kirk Munro [MVP]" <see.my.about.page.on@xxxxxx> a écrit dans le message de groupe de discussion : B14FA603-79E3-476B-88EC-B75A0AD9A2B0@xxxxxx...
| ||||||||||||||||||||||||
My System Specs![]() | |||||||||||||||||||||||||
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regex | IT Staff | PowerShell | 3 | 08-29-2008 07:33 AM |
| Regex Help | dm_14 | PowerShell | 7 | 06-11-2008 08:33 PM |
| Regex Help | Christopher Robin | .NET General | 1 | 03-31-2008 02:02 PM |
| regex | IT Staff | PowerShell | 4 | 01-02-2008 02:07 AM |
| Regex question | Marco Shaw | PowerShell | 9 | 03-02-2007 11:01 AM |