regex - c# regular expression pattern -


[code]> 10 /td>[/code]

i want 10 line. need preserve pattern. how can write expression gets:

, newline, ignorewhitespace or included indeterminate spaces, 10, ignorewhitespace or included space, /td

thanks, joe k.

ok, i'll nice , time. =)

i assumed number looking can change.

var result = regex.match(       "[code]>   101   /td>[/code]",       @"(?<=\>\s*)\d+(?=\s*/td\>)").value; 

but please, try doing next time... i'll point tool in designing , learning regex:

http://www.radsoftware.com.au/regexdesigner/


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -