Results 1 to 2 of 2

Thread: matching characters regExp positive lookahead

Hybrid View

  1. #1
    Join Date
    Aug 2009

    matching characters regExp positive lookahead

    Does JavaScript support positive lookahead?
    I want to match every charater except html tags.
    I found that /(?<=^|>)[^><]+?(?=<|$)/g do the job in http://gskinner.com/RegExr/ but i got sytax error on my javaScript editor.
    What is the alternative solution to match all characters but html-tags?

  2. #2
    Join Date
    Aug 2009
    The expression is a mix of lookabehind and lookahead (?<= is positiv lookabehind and ?= is positive lookahead) and the answer is no. JavaScript does not support positiv/negative lookabehind.

    I experience a very slow navigation throught this site. What can be the problem?
    A very slow server? or i need to disable/enable something in my browser?


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center