Hey ppl,
How can we capture text between html tags using regular expressions? For example, how to capture the words "hello", "world", "bla", "bla" and "bla" in the following input:
<br><i>hello world <br><br> bla bla bla <br>
Best Regards
User Profile
Collapse
-
HELP !!! (Capture text between html tags)
-
HELP !!! (Capture text between html tags)
Hey ppl,
How can we capture text between html tags using regular expressions? For example, how to capture the words "hello", "world", "bla", "bla" and "bla" in the following input:
<br><i>hello world <br><br> bla bla bla <br>
Best Regards -
HELP !!! (Regex: Capture text between html tags)
Hey ppl,
How can we capture text between html tags using regular expressions? For example, how to capture the words "hello", "world", "bla", "bla" and "bla" in the following input:
<br><i>hello world <br><br> bla bla bla <br>
Best Regards -
Disabling Autocommit
Hello,
Quoting postgresql documentation:
"13.4.1. Disable Autocommit
Turn off autocommit and just do one commit at the end. (In plain SQL, this means issuing BEGIN at the start and COMMIT at the end. Some client libraries may do this behind your back, in which case you need to make sure the library does it when you want it done.) [....] "
In my opinion the documentation doesn´t... -
Thank u very much, it works under PgAdmin alright.... -
Transaction Isolation Level
Hi everyone!
I´m using postgreql 8.3 and I know that the default transaction level in postgresql is READ_COMMITED, but how can I check the actual transaction isolation level at any time (in pgadminIII, preferably)?
Regards -
Size of the database
Hey,
I´m using postgresql 8.3 and i need to know the size of a database in disk. How do i do that?
Regards -
Nonclustered indexes
Hi there,
Is it possible to create nonclustered indexes? If so, how?
Best Regards -
HELP: Indexes
Hi everybody!
I have two questions concerning postgresql indexes:
1- Does PostgreSQL support bitmap indexes?
2- How does one create GIN indexes? (If you could give me an example, that would be great)
Best Regards -
Copy data with several delimiters
Hey folks!
Can anyone tell me how to add data to a table using "copy" with several delimiters? Is it possible?
What i mean is:
Copy <table_name> from <file_directory > using delimiters <delimiters>;
How its done the "<delimiter s>" part?
I tried several ways but i got out of ideas...
Would be much appreciated for any help.... -
Charts
Hi everyone!
Do you know any open source Java API to create charts?
Regards -
The second case obviously works, but the first one, although it´s perfectly logical, doesnt work! Can anyone tell why???...Leave a comment:
-
JDOM and XSD
Hi everybody! I´m doing this java program using JDOM and i get the error "The value of the element is invalid - The value '' is invalid according to its datatype 'Integer' " (I´m using Visual Studio 2005 as a XML program validator). How can a xsd element be either empty (like the empty string "") or an integer ???
Would be most thankfull for any help!
Best regards -
Help: XML and Schema
Hi everybody! I´m getting the error "The value of the element is invalid - The value '' is invalid according to its datatype 'Integer' " (I´m using Visual Studio 2005). How can a xsd element be either empty (like the empty string "") or an integer ???
Would be most thankfull for any help!
Best regards -
Thanks to you all, now i´ve made it! Very much apreciated for the help!
Best regardsLeave a comment:
-
Java Regex: Parsing Problem
Hi everyone!
How to split a string with parenthesis, since the parenthesis are characters used in regular expressions for grouping?
For example, how to split the string "by Gregor Hohpe and Bobby Woolf (2003)" in a way that the result gives 2 strings: "by Gregor Hohpe and Bobby Woolf " and "(2003)"?
I´ve tried unsuccessfully with several regular expressions like "(([0-9]))",... -
Help: Eof
Hi everybody,
My program reads user commands from the console until it finds an EOF. My question is: how does the program knows that an EOF has been inserted? And how does a user introduces an EOF as input through the console?
I´m using the method below to read the input:
static String readLn (int maxLg)
{
byte lin[] = new byte[maxLg];
int lg = 0, car = -1;
... -
FIFOS in C
Does anyone know how to empty a fifo(named pipe) after a read?
if (mkfifo(fifo_di rectory,0777)==-1) perror("Error") ;
desc= open(fifo_direc tory,O_RDONLY);
if (desc==-1) perror("Error") ;
char* message= malloc(PIPE_BUF *sizeof(char));
while(1) {
read(descritor, mensagem,PIPE_B UF);
//here i would like to empty the pipe
}
... -
Probably you didnt declared a variable correctly, or the identifier is one thing and the compiler expects another, for example, you have an int and the compiler expects a double.Leave a comment:
-
I think i´m right if i say that the binary files serve the purpose of storing serializable objects, like Hashtables, Vectors and any other objects of classes that you can create. Hope i´ve answered your question.
Best regardsLeave a comment:
No activity results to display
Show More
Leave a comment: