Regexp in Java
I want to make a regexp who do this
verify if a word is like [0-9A-Za-z][._-'][0-9A-Za-z]
example for valid words
A21a_c32
daA.da2
das'2
dsada
ASDA
12SA89
non valid words
dsa#da2
34$
Thanks
Please help me with this problem. I'm new in extJs and i need a little help.
I have this code
Ext.onReady(function() {
var datesStore = new Ext.data.JsonStore({
start : 'StartTableDate',
end : 'FinishTableDate',
autoLoad : true,
proxy : new Ext.data.HttpProxy({
url : 'dates.json',
…
Hello all!
I have a small problem on IE browser (actually on Google Chrome too)
I have this js code
function createDoc(url) {
var xhttp = ajaxRequest();
var currentLocationBase = window.location.href;
currentLocationBase = currentLocationBase.substr(0,currentLocationBase.lastIndexOf("/") + 1);
var u = currentLocationBase +…
I need a little piece of advice.
I have a test page with 2 fields: word number and URL
Also i have a button Push.
When i push the button i want to open the specified URL (it's local html files) and highlight the word at the "word number" position
Of course the code must ignore element nodes (<p>,<b>,<table> and so on)