My fellow Wordpressers who know more than me, I've turned off trackbacks and pingbacks, but I'm still getting a million a day. Am I missing something?
'War Stories'
Buffistechnology 3: "Press Some Buttons, See What Happens."
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
dot org or dot com?
dot org. It's on my meekmanor site.
Is there anyone around who can create a regular expression for me?
I have data that looks like this:
SMITH, JOHN (1949)
I need a regular expression to return the number inside the parenthesis. Otherwise, I can just do it without a regular expression.
What language are you writing the regular expression in? PHP?
Javascript. Using a string object.
a = s.match("\\\\(\\\\d+\\\\)")
Where a is either null or an array containing the result.
Thanks!
Any way to do this without returning the parenthesis?
I think "\\\\((\\\\d+)\\\\)" will work.
Almost. I get something like (2104),2104