0

I'm looking for a regular expression to match a text starting with '• To start here' (bullet followed by a space and "To start here"). Does someone know how to do it ?

I keep searching and if I find the solution I'll post it.

edit (my attempt) :

var result = assertion.search(<li>(.To start here)</li>)

thanks,

Bruno

Bruno
  • 8,497
  • 13
  • 38
  • 55
  • 3
    Did you try `• To start here.*`? Unicode characters are just characters ;-) Note that if you look inside some HTML you won't find that *if* the bullet is actually a character rendered by a `
  • ` (because in that case it's not part of the text).
  • – Joachim Sauer Apr 20 '11 at 08:44
  • Thanks for answering but it doesn't work. Could you please write it so I could check if I wrote it correctly ? – Bruno Apr 20 '11 at 09:01
  • you should edit to show what you tried instead so others can correct any problems. – Andy E Apr 20 '11 at 09:25