|
|
Browse by Tags
All Tags » javascript
Showing page 1 of 3 (23 total posts)
-
I'm working on a bookmarklet. I've got both parts working, but I don't know how to put them together.
Here are two URLs to ...
-
I'm working on a bookmarklet. I've almost got it working, but it's not replacing all matches.
Here are two sample URLs to ...
-
Several year ago I decided to learn
Regular Expressions. I had been skimming over an article about using
regex for validation on web pages. It was at least a couple of weeks
before I sat down an read the article in full. After I did I wanted
to try to write a regex on my one but couldn't think of anything
original. Eventually I wrote ...
-
Ok so I have a rather slow algorithm that I would really love some advice to speed up! It may repeat many times over different large data strings. The string 'data' contains "variables" (denoted by ${myVarName} in the data) that must be replaced with the value of the corresponding (either by id or name) element on the html page. ...
-
I have a fields that looks like this
<div class="some">
<h2>title</h2>
<p>text text</p>
<table>
<tr class="some1"><td>data1</td><td>d1 ...
-
Our Security Technology Business Unit is looking for Senior Software Engineer that is an expert in Regular Expressions, JavaScript and Rewrite Engine. Please let me know if you can recommend anyone.
Thanks in advance,
Brent
Senior Software Engineer (Rewrite Engine, Regular Expression, Parsers, JavaScript)
Location – ...
-
My project involves running ad hoc SQL statements against a SQLite database. I'm looking for a JavaScript regex expression to parse out the ALTER, CREATE and UPDATE sql statements. Here's examples and the results I'm looking for.
Create Index
CREATE INDEX Christy...
CREATE INDEX IF NOT EXISTS ...
-
martinp:Hi All,
I want to write a simple parser for named backrefs in JS, similar syntax to that used in Python. So, I have a function that takes a string that represents a regexp, but is not a real regexp in JS because it contains names for backrefs. My first job is to get an array containing the names, which I am trying to use another regexp ...
-
Hi,
I need a regular expression to replace the caret ^ character with Math.pow, some examples of what I need:
2^3 -> Math.pow(2,3)
5*2^32+1 -> 5*Math.pow(2,32)+1
2*(3+1)^(8+(2+3)*2)+99 -> 2*Math.pow((3+1),(8+(2+3)*2))+99
2^3^4+1 -> Math.pow(2,Math.pow(3,4))+1
I think this is quite a challenge ...
-
Howdy all,
I've got this incoming string "132 / 456 / 789" (Or sometimes even "123/456/789" but it should always be with / seperating the numeric values.) and I'm trying to capture just the numbers and move them into a variable. My RegEx is:
([0-9]+)(?:[^0-9]*)([0-9]+)(?:[^0-9]*)([0-9]+)(?:[^0-9]*)
So, ...
1
|
|
|