.net - How do I specify a wildcard (for ANY character) in a c# regex statement? -


The web page is trying to use a wildcard in C # to get information from the source, but I do not know how to use it in the form. Wildcard Characters I did not try to do anything!

Wildcards need to be allowed only for numbers, but as the page is generated the same every time, I can also allow any characters. >

Regex statement in use:

  Regex guestbookWidgetIDregex = new Regex ("GuestbookWidget ('INSERT wildcard here', '(* *.)', 500);",  

If someone can understand what I am doing, then it will be highly appreciated!

Post text "itemprop =" text " >

Wildc The word is . . To match the arbitrary number in any number, use . * (which means zero or more . < / Code>) or . + (Which means one or more . )

Note that you need to avoid your brackets \\ ( and \\) . (Or \ ( and \) one @ " " in the string)


Comments

Post a Comment

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -