Member Avatar
Thangarasu_1 Created footwear
Shop wide range of office **[formal shoes](https://www.paragonfootwear.com/men/formal.html)**, casual shoes, slippers, sandals, chappals, flip flops for men, women and kids from [Paragon Footwear ](https://www.paragonfootwear.com/)India Topic by Thangarasu_1 in Community Center
Member Avatar
Alister Began Watching Dofollow Blogs
Please user share your ideas how we search high pr dofollow blogs related to our niche. Topic by john.cooper in Search Engine Strategies
Member Avatar
tarael1 Began Watching Computer won't turn on
Computer won't turn on cpu light isn't blinking but power light is blinking monitor is like computer is in sleep mode key board num lock light is on but can't off it Topic by Poorna_2 in Hardware and Software
Member Avatar
scheppy Replied To a Post in Reguler Expression (regix) problems
Topic by scheppy in Software Development
If I take away 1 of the backslashes, Then I get an error,
"Illegal escape character"

I need them both to not get any errors, Reply by scheppy
Member Avatar
Topic by scheppy in Software Development
>So this doesant allow numbers only letters.... and more than 1 decimal point....??

How did you get that from what I posted? What I gave you evaluates as


![2018-07-16_173811.jpg](/attachments/small/3/1bfd9615b136eb0f1f2fa7c2dd0318c6.jpg "align-center")


I see you entered the pattern as `^[0-9]*\\.?[0-9]+?$`. I don't use java so I don't know the syntax but is … Reply by Reverend Jim
Member Avatar
Topic by scheppy in Software Development
>So this doesant allow numbers only letters.... and more than 1 decimal point....??

How did you get that from what I posted? What I gave you evaluates as


![2018-07-16_173811.jpg](/attachments/small/3/1bfd9615b136eb0f1f2fa7c2dd0318c6.jpg "align-center")


I see you entered the pattern as `^[0-9]*\\.?[0-9]+?$`. I don't use java so I don't know the syntax but is … Reply by Reverend Jim
Member Avatar
Reverend Jim 2,376 Replied To a Post in Reguler Expression (regix) problems
Topic by scheppy in Software Development
>So this doesant allow numbers only letters.... and more than 1 decimal point....??

How did you get that from what I posted? What I gave you evaluates as


![2018-07-16_173811.jpg](/attachments/small/3/1bfd9615b136eb0f1f2fa7c2dd0318c6.jpg "align-center")


I see you entered the pattern as `^[0-9]*\\.?[0-9]+?$`. I don't use java so I don't know the syntax but is … Reply by Reverend Jim
Member Avatar
Featured Reverend Jim 2,376 Replied To a Post in Code Snippet vb.Net - Regular Expression Tester
Topic by Reverend Jim in Programming
Another useful tool is [Regexper](https://regexper.com/) where you enter a regular expression and it displays it in railroad diagram style. For example, a Mastercard credit card number pattern

^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$

displays as

![2018-07-16_164558.jpg](/attachments/large/3/980d96fcbcabac57ebc26023e7812161.jpg "align-center") Reply by Reverend Jim
Member Avatar
scheppy Replied To a Post in Reguler Expression (regix) problems
Topic by scheppy in Software Development
So this doesant allow numbers only letters.... and more than 1 decimal point....??

I dont know, I put it in like this maybe im doing it wrong.




private JTextField createTextField() {
JTextField field = new JTextField();
((AbstractDocument) field.getDocument()).setDocumentFilter(new DocumentFilter() {
@Override
public void insertString(FilterBypass fb, int off, String str, AttributeSet … Reply by scheppy
Member Avatar
Topic by scheppy in Software Development
What you want is

0 or more digits `^[0-9]*` followed by
0 or 1 decimals `\.?` followed by
1 or more digits `[0-9]+$`

which gives you

^[0-9]*\.?[0-9]+?$

Coincidentally, I had just posted a regular expression tester [vb.Net project ](https://www.daniweb.com/programming/code/516679/vb-net-regular-expression-tester) which is what I used to build the above expression. Reply by Reverend Jim
Member Avatar
Reverend Jim 2,376 Replied To a Post in Reguler Expression (regix) problems
Topic by scheppy in Software Development
What you want is

0 or more digits `^[0-9]*` followed by
0 or 1 decimals `\.?` followed by
1 or more digits `[0-9]+$`

which gives you

^[0-9]*\.?[0-9]+?$

Coincidentally, I had just posted a regular expression tester [vb.Net project ](https://www.daniweb.com/programming/code/516679/vb-net-regular-expression-tester) which is what I used to build the above expression. Reply by Reverend Jim
Member Avatar
Topic by Me in Software Development
c++
PS. I was unclear. Let's keep it short. You can't have two servers listening on the same port. Which will answer? Think about it.
Same for a client. It can't share it's port either. Who gets the answer? Reply by rproffitt
Member Avatar
Topic by Me in Software Development
c++
It's your design. That is, you get to work out what ports to use and to connect to for your apps.

For your server, it would listen on some port, the client would connect to that port and the server would respond to the client requests. The client (a nice … Reply by rproffitt
Member Avatar
Topic by Me in Software Development
c++
Is there a way to make it work both on the same pc, same app and to work on diffrent PCs? I changed the port to 1112 for the client part and 1111 for server part but it doesn't work Reply by Me
Member Avatar
Hey Guys,

So I have a JTextfield in the cells of 1 of the columns in my JTable

I want to allow only numbers and up to one dot/period. Doesant need to contain a period.
The persiod can be anywhere except at the end of the number.

1 ok
.1 … Topic by scheppy in Software Development
Member Avatar
Hey Guys,

So I have a JTextfield in the cells of 1 of the columns in my JTable

I want to allow only numbers and up to one dot/period. Doesant need to contain a period.
The persiod can be anywhere except at the end of the number.

1 ok
.1 … Topic by scheppy in Software Development
Member Avatar
Topic by Me in Software Development
c++
Remember I asked you to think about the port numbers? I only see 1111 in all the code so if this is on the same PC, same app but two instances, why would that work? Reply by rproffitt
Member Avatar
Topic by Me in Software Development
c++
This is what I came up to:



#pragma comment(lib,"ws2_32.lib")
#include <WinSock2.h>
#include <iostream>
#include <thread>

static const int num_threads = 2;

static char buffer[8096 + 1];
char a[256] = {};
char MOTD[256];


void call_from_thread(int tid) {
if( tid == 0 ){
//WinSock Startup
WSAData wsaData;
WORD DllVersion = MAKEWORD(2, 1); … Reply by Me
Member Avatar
Hello,

In my project I have a form with many inputs and one object is using DropzoneJS to attach files.
Since I store all the inputs when I post the form I need somehow to read the file names of the uploaded files in my server,
currently I can only … Topic by developer707 in Web Development
Member Avatar
rproffitt 1,234 Gave Reputation to pty in SQLIA UNION Query
Topic by davy_yg in Information Security
http://www.sqlinjection.net/union/ Reply by pty
Member Avatar
rproffitt 1,234 Gave Reputation to pty in How can we do guest blogging?
Topic by SN Technologies in Digital Marketing
This is exactly the sort of post that shouldn't exist. It's just shit in every way. Reply by pty
Member Avatar
Hi,

Do you have any suggestion, how to generate organic traffic?

There is another possibility to promote my client's fanpage than creating engaging content?

Thanks! Topic by Dominika_1 in Digital Marketing
Member Avatar
For some reason, when I open Microsoft Word the top and bottom margins are non-existent. When I go to File>Page Setup, it says the top and bottom margins are set to 1 inch.

I've tried changing them to a variety of different numbers, and they don't change at all.

Any … Topic by bikitybam15 in Microsoft Windows
Member Avatar
Recently i created a website https://hmothersday.com/ and now i want to do link building of my site. So i want to ask what kind of link building strategy will work for this type of site?
Thanks,
Regards Topic by Emi_2 in Search Engine Strategies
Member Avatar
pty 708 Replied To a Post in How can we do guest blogging?
Topic by SN Technologies in Digital Marketing
This is exactly the sort of post that shouldn't exist. It's just shit in every way. Reply by pty
Member Avatar
Recently i created a website https://hmothersday.com/ and now i want to do link building of my site. So i want to ask what kind of link building strategy will work for this type of site?
Thanks,
Regards Topic by Emi_2 in Search Engine Strategies
Member Avatar
Recently i created a website https://hmothersday.com/ and now i want to do link building of my site. So i want to ask what kind of link building strategy will work for this type of site?
Thanks,
Regards Topic by Emi_2 in Search Engine Strategies
Member Avatar
Which will be the expected SEO Trends for 2018? Topic by Naveen_25 in Search Engine Strategies
Member Avatar
Hi guys,
I need to do guest blogging and get back links for the same. since I heard guet posting or guest blogging is the best way to get backlinks these days.
But I don't know how to do so, can anyone please help? Topic by SN Technologies in Digital Marketing
Member Avatar
Recently i created a website https://hmothersday.com/ and now i want to do link building of my site. So i want to ask what kind of link building strategy will work for this type of site?
Thanks,
Regards Topic by Emi_2 in Search Engine Strategies