Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of memory on UCase()
Message
From
29/07/2013 11:12:07
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01579306
Message ID:
01579351
Views:
37
>>Update
>>
>>
>>This is the correct pattern
>>
>>string pattern = @"\<img\s+src\s*=\s*(""(?<image>[^""]*)""|'(?<image>[^']*)'|(?<image>[^""' ]*))";
>>
>>
>>since the image does not need to be enclosed in quotes
>
>I'll take your word for it - it would take me all day to get my head round that expression :-}


It's not that complicated
@"\<img\s+src\s*=\s*"
positions after SRC=

Then there are 3 posibilites
- string starting with single quote
- string starting with double quote
- string without quotes




Any RegEx questions in the future - shoot

>
>>Just ran this on the members on-line page
>>
>><IMG SRC=Images\Point.gif
>>
>>
>>Matches.Count = 74
>
>Guess that's not going to need a lot of pointers then.....
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform