Type: Posts; User:
Part 1: Problem: This line does not print the image link.
Part 2: This line does print the image link.
Both parts generate the same source code, although the first one does not print the...
What is the problem in this script:
Now it works perfectly. Thanks alot for your fast reply :-)
Thank you Ultimater. This seems to be an excellent solution. I wonder why I get the same combination for all the elements. Is there something I should do with array "a" that adds ' and " to the word....
your solution will only give one combination. I think the right solution will give some 100 different combinations. The problem is that the letters shouldn't be change all at once (so the option "g"...
I just want to write out the list of all those strings as I listed those 5 strings as example.
I will very gratefull if you can give me the answer in regexp, cause i am not so good in regexp.
I have a string "ajrdvbfomfkswkmbncrfu" where the 3 letters b,k and f can be in three forms: b,b',b" and k,k',k" and f,f',f".
I want to find ALL the possible string combinations.
Is there a...
does someone know how to modify this to a full-solution? (so it ALWAYS remove both elements).(i need it because i generate these both div dynamically with a button inside document and i need to...
I found a half-solution that removes both elements first time but removes only second element afterward. I put a form-tag around both div and remove all childs of this form.
Is there a way to remove a thread in this site? I can't find the remove button.
This onClick event removes only the second div:
var div1= '<div...
thank you. seem to work now.
it's like invert selection i photoShop. hope to have an answer. thx
How can I inverse matching?
I got <.*?\w+.*?> that matches all words inside angle brackets. Now I just want to inverse that matching so that all words outside angle brackets will be matched.
it doesn't work. your pattern will match all e or a that is preceded with any character excluding sapce,' or ". http://gskinner.com/RegExr/
I want to match the first character of every word if it...
A simple question:
This pattern [^'|\"]\b(e|a) matches e or a that are not preceded by ' or " but it also matches the space before e or a. Why?
How can I exclude that space?
is it possible to avoid using regExp constructor so we can have a single line like this:
inStr = inStr.replace(oldWordArr[i]+"/(?![^(]*\))/ig", newWordArr[i]);
I am not sure if "ig" is allowed to...
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...
your pattern seems not to work. I pasted it on http://www.gskinner.com/RegExr/ and only the first letter of the string is matched.
Could you modify your function so that the letters after quote or double quote don't get affected. Thx.
Ex: I'm hear --> I'm Hear (not I'M Hear)
Ex: this "one" --> This "one" (not This "One")
Thx for reply.
What if I want to replace these matched letters with space? Can I use string.replace on this?